Skip to content

feat: Engraphis 1.7 release — full changeset - #186

Merged
Coding-Dev-Tools merged 5 commits into
mainfrom
release/1.7
Sep 3, 2026
Merged

feat: Engraphis 1.7 release — full changeset#186
Coding-Dev-Tools merged 5 commits into
mainfrom
release/1.7

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Engraphis 1.7 release changeset

77 files, +5680/−3427. Local main fast-forwards onto origin/main via this PR.

Release slices

  • Version trio 1.6→1.7: pyproject.toml, engraphis/__init__.py (_SOURCE_VERSION), engraphis/commercial_manifest.json, plus .claude-plugin/plugin.json + marketplace.json (hashes re-issued). CHANGELOG.md retitled [1.7] - 2026-09-03.
  • Recall core: semantic_confidence_calibration default-on (kills singleton-cosine false 1.0); profile-driven rerank_blend/consolidation_bonus/arm_candidate_k_default=200; explicit arm-cap override clamps both pages; always-on telemetry (candidate_k_used, arm_counts, rerank_changed); graph-seed fallback is opt-in (ProfileConfig.graph_seed_fallback, default False) with mention+link gate — published retrieval evidence stays byte-stable.
  • Store/data: ids.new_id kind whitelist (allow_unsafe escape) + prefix asserts; explicit valid_to<=valid_from rejected with quarantine-marker exception; scored LIKE fallback; audit hash-chain prev_hash + AUDIT_ACTORS; per-version schema_migrations rows; Store.secure_erase_impact(); migrate_to_v2 dim-histogram + --resume; require_exact_backends forced in ENGRAPHIS_ENV=prod + backend_health().
  • Trust: forget() = retire-with-history copy; secure_erase(confirmed=True) gate + impact report + chained audit; peer tombstones quarantine-first (tombstones_held, marker recorded, bytes retained for review; erase_device_allowlist); MCP confirmed attestation on destructive tools; _CAPABILITY_INDEX TTL/LRU; SYNC.md rotation runbook. v2_api.py + inspector/app.py thread confirmed.
  • DX: CLI --workspace alias + delete-namespace flag-or-positional + defaults matrix; $PORT precedence docs; SKILL Setup init/DB-pin; MCP_TOOLS smart schemas; offline first-run callouts.

Included concurrent work (verified green pre-commit)

  • Dashboard open-mode CSRF for zero-config loopback (dashboard_app.py), galaxy damping/rotation balance (engraphis-graph.js), ledger CSRF retry, asset cache-bust 20260903-rotation-balance-1 + e2e spec bumps.
  • SessionStart hook terse→prose default flip.

Tests/evals/CI

  • 8 new test files (recall contract, write-path e2e, proactive divergence, py39 parity, grounded eval, manifest gate, recall-release, regression pins); eval/grounded.py distractor + quarantined-probe; release.yml --website-root (dir-conditional).
  • Benchmark evidence registry regenerated (offline-fixtures-v1.json, sha 8a74e9f4… propagated to README/BENCHMARKS/2 SVGs): grounded eval now 5 grounded + 6 abstain incl. 1 quarantine probe, 71.1% context reduction unchanged.

Verification

  • Full unit suite: 4542 passed / 0 failed / 39 skipped (junit-verified twice).
  • ruff clean; pyright 0 errors; commercial-manifest OK; CSP/asset gate OK.
  • All eval gates PASS: sample/codemem 1.0 recall, ablation, reinforcement, adversarial, grounded 11/11, code_arm strict lift.
  • No strays (.db/.log/locks) committed; skill-asset hashes re-validated against the committed tree.

Deferred (unchanged, per plan): v1 deletion, classic_assets retirement, classic_mcp/_pull_legacy removal, SSO/SLA, GPU image.

Tagging note: release.yml tag==version guard passes once merged; tag v1.7 post-merge. Pi package stays on its own pi-v* line.

Coding-Dev-Tools and others added 3 commits September 2, 2026 14:09
The 1500-char prose context was actively harmful on Qwen 3.7 Flash
(bench_v1/V12: -0.067 substring score vs no-memory baseline) and only
marginally helpful on larger models. Smaller models get distracted
by dense technical context and lose focus on the actual question.

Switch the default to a 300-char "[n] first-sentence" compression
of the upstream MCP context. The compression prefers the explicit
"[n]" markers that engraphis_session already emits; falls back to
period-splitting for unnumbered prose. Always fails open: returns
the original context unchanged on any parse failure.

Users who want the original 1500-char prose can opt in with
ENGRAPHIS_HOOK_FORMAT=prose. Tests cover both modes, the env
override, the fail-open behaviour, and the per-fact budget cap.

19/19 tests pass (10 existing + 9 new). ruff check clean.
… slider

The classic dashboard shipped a `data-graph-scale="10"` attribute on the
Line-width slider that multiplied the displayed value by 10 (min="2" max="45")
but never divided it back before reaching the engine. Picking the
`communities` preset put `linkw=7.2` into the engine, which renders edges at
`0.82 * 7.2 ~= 5.9` pixels - ten times thicker than the
`GRAPH_PRESETS.communities.linkw = 0.72` the engine was designed for.

The Ledger already ships the raw range (min="0.1" max="2" step="0.01") and a
0.72 default, so the classic dashboard now matches it. Removing the
`data-graph-scale` keeps the round-trip lossless: the slider value the user
sees is the value the engine receives.

A regression test parses `GRAPH_PRESETS` from `classic_assets/dashboard.js`,
asserts each preset's `linkw` is reachable on the slider, and asserts the
`data-graph-scale` attribute never re-appears on the `linkw` input.

Cache busters on the served CSS/JS bumped to v=20260902-classic-linkw-slider-1.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Version 1.7 across pyproject.toml, __init__.py, commercial_manifest.json,
marketplace.json, plugin.json, and CHANGELOG.md.

Core changes: semantic_confidence_calibration default True,
ProfileConfig arm_candidate_k_default=200, graph_seed_fallback opt-in,
store id-kind whitelist with allow_unsafe escape hatch, tightened
valid_to<=valid_from with quarantine-marker exception, scored LIKE
fallback, audit hash-chain prev_hash + AUDIT_ACTORS, per-version
schema_migrations, secure_erase_impact, _CAPABILITY_INDEX TTL/LRU,
MCP confirmed attestation for destructive tools, CLI --workspace alias.

Includes 7 new release test files, grounded distractor dataset,
and .gitignore fix for dashboard_slider_test.png.

All 12 CI/eval gates verified: ruff clean, pyright 0 errors,
pytest all pass, eval harness/ablation/reinforcement/adversarial/
grounded/code_arm all PASS.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

CI's `npm audit --omit=dev` gate fails on fast-uri 3.1.5 (GHSA-5jgf-p345-68v8,
GHSA-f65p-4m7j-42xc, GHSA-fph4-wmhf-6fwf, GHSA-jqff-g426-hqxp — high) and
qs 6.15.3 (moderate). `npm audit fix --package-lock-only` moves fast-uri to
3.1.7 and qs to 6.16.0 with no API change; verify+integration suites pass
locally (21/21) and audit now reports 0 vulnerabilities.
@Coding-Dev-Tools
Coding-Dev-Tools merged commit d7d597c into main Sep 3, 2026
42 of 43 checks passed
@Coding-Dev-Tools
Coding-Dev-Tools deleted the release/1.7 branch September 3, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant